import instance from "./axios";
export let searchlist = (wd) => {
    // 发起一个post请求
    return instance({
        method: 'get',
        url: '/api/city/search',
        params: {
            wd
        }
    });

}

export let citylist = () => {
    // 发起一个post请求
    return instance({
        method: 'get',
        url: '/api/city'
    });

}